/*#pragma once


#ifndef MYINFOBAR_H
#define MYINFOBAR_H

#include "SDL/SDL.h"
#include "SDL/SDL_image.h"

class MyGame;

class MyInfobar
{
public:
	MyInfobar();
	~MyInfobar();
	
	SDL_Surface *infobarText;			//surface for generated text
	SDL_Surface* infobarSheet;			//surface for whole infobar
	SDL_Surface* infobarSheetBkp;		//bkp surface, so we don't have to go to disk every time

	bool redraw_needed;
	//compares values with actPlayer values, sets flag if redraw is needed
	void update_pools_info();
	//both pools are exactly 100px wide and 20px tall
	//draw the pools and 
	void draw_infobar();
	void load_imgs();
	void set_parent(MyGame*);
	void make_infobar();
	void init();

	//safety flags for deinit
	bool wasInit;

	int life_displayed_cur;
	int life_displayed_max;
	int mana_displayed_cur;
	int mana_displayed_max;
	double exp_displayed;
	
	MyGame* parent;
	SDL_Color *color_bar1, *color_bar2, *color_life1, *color_life2, *color_mana1, *color_mana2, *color_exp1;	
private:

};
#endif*/
